package com.woniuxy.homepage.core.service.impl;

import com.woniuxy.homepage.core.model.CarGoodsRecommend;
import com.woniuxy.homepage.core.mapper.CarGoodsRecommendMapper;
import com.woniuxy.homepage.core.service.CarGoodsRecommendService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author gmx
 * @since 2021-07-13
 */
@Service
public class CarGoodsRecommendServiceImpl extends ServiceImpl<CarGoodsRecommendMapper, CarGoodsRecommend> implements CarGoodsRecommendService {

    @Resource
    private CarGoodsRecommendMapper mapper;

    @Override
    public List<CarGoodsRecommend> selectRecommend() {
        List<CarGoodsRecommend> list = this.mapper.selectRecommend();
        return list;
    }
}
